SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vweIncumbencias
AS
SELECT idIncumbencia AS ID, GrupoIncumbencia, CargoGenerico, AsignaturaGenerica
FROM  dbo.tb_Incumbencias
GO
GRANT SELECT ON  [dbo].[vweIncumbencias] TO [Juntas]
GRANT INSERT ON  [dbo].[vweIncumbencias] TO [Juntas]
GRANT DELETE ON  [dbo].[vweIncumbencias] TO [Juntas]
GRANT UPDATE ON  [dbo].[vweIncumbencias] TO [Juntas]
GRANT SELECT ON  [dbo].[vweIncumbencias] TO [SoloVer]
GO
